package DesignPatern.A09_命令模式.QSB.A03_升级模式;

/**
 * @Author: Du
 * @Date: 2021/7/23 15:42
 */
public class Invoker
{
    private Command command;
    
    public void setCommand(Command command)
    {
        this.command = command;
    }
    
    public void action()
    {
        this.command.execute();
    }
}
